package com.hx.springboot928.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author: 若若叶
 * @date: 2021/9/28 9:56 FileName: HelloController Description:
 */
@Controller
public class HelloController {
  @ResponseBody
  @GetMapping("/hello")
  public String sayHello() {
    return "Hello word!";
  }
}
